var express = require('express');
var app = express();

app.get('/', function (request, response) {
	console.log("原始请求URL:= " + request.orignalUrl);
	console.log("请求路径= " + request.path);
	
	response.send('Hello World1');
});

var server = app.listen(8081, function () {

  var host = server.address().address;
  if(host == '::'){
	  host = "127.0.0.1";
  }
  
  var port = server.address().port;

  console.log("host=" + host);
  console.log("port= " + port);
  
  
});